//
//  TabbarView.swift
//  mul-pro
//
//  Created by wangwu on 2023/3/27.
//

import SwiftUI

struct TabbarView: View {
    var body: some View {
        TabView {
            HomeView().tabItem({
                VStack {
                    Text("首页")
                        .font(.largeTitle)
                }
            }).tag(1)
            MineView().tabItem({
                Text("我的")
            }).tag(2)
        }
        .accentColor(Color.orange)
    }
}

struct TabbarView_Previews: PreviewProvider {
    static var previews: some View {
        TabbarView()
    }
}
